class TaskBean {
  TaskBean({
    this.taskId,
    this.taskType,
    this.taskTitle,
    this.taskPic,
    this.taskDesc,
    this.taskNum,
    this.taskIntegral,
    this.totalProgress,
    this.del,
    this.creatorId,
    this.creatorName,
    this.createTime,
    this.updatorId,
    this.updatorName,
    this.updateTime,
    this.customerNum,
    this.ifFinish,
  });

  TaskBean.fromJson(dynamic json) {
    taskId = json['taskId'];
    taskType = json['taskType'];
    taskTitle = json['taskTitle'];
    taskPic = json['taskPic'];
    taskDesc = json['taskDesc'];
    taskNum = "${json['taskNum']}";
    taskIntegral = "${json['taskIntegral']}";
    totalProgress = json['totalProgress'];
    del = "${json['del']}";
    creatorId = "${json['creatorId']}";
    creatorName = "${json['creatorName']}";
    createTime = "${json['createTime']}";
    updatorId = "${json['updatorId']}";
    updatorName = "${json['updatorName']}";
    updateTime = "${json['updateTime']}";
    customerNum = "${json['customerNum']}";
    ifFinish = json['ifFinish'];
  }
  String? taskId;
  String? taskType;
  String? taskTitle;
  String? taskPic;
  String? taskDesc;
  String? taskNum;
  String? taskIntegral;
  String? totalProgress;
  String? del;
  String? creatorId;
  String? creatorName;
  String? createTime;
  String? updatorId;
  String? updatorName;
  String? updateTime;
  String? customerNum;
  String? ifFinish;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['taskId'] = taskId;
    map['taskType'] = taskType;
    map['taskTitle'] = taskTitle;
    map['taskPic'] = taskPic;
    map['taskDesc'] = taskDesc;
    map['taskNum'] = taskNum;
    map['taskIntegral'] = taskIntegral;
    map['totalProgress'] = totalProgress;
    map['del'] = del;
    map['creatorId'] = creatorId;
    map['creatorName'] = creatorName;
    map['createTime'] = createTime;
    map['updatorId'] = updatorId;
    map['updatorName'] = updatorName;
    map['updateTime'] = updateTime;
    map['customerNum'] = customerNum;
    map['ifFinish'] = ifFinish;
    return map;
  }
}
